package com.zhudoo.zhilian.dao.impl;

import com.zhudoo.zhilian.dao.entity.AccessLog;
import com.zhudoo.zhilian.dao.repository.AccessLogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author zhudao
 */
@Component
public class AccessDao {

    @Autowired
    private AccessLogRepository accessLogRepository;

    public void saveAccessLog(AccessLog accessLog) {
        accessLogRepository.save(accessLog);
    }

}
